const cached = {};
/** module注册 */
function moduleRegist(module) {
  const store = window.store;
  if (!cached[module.name]) {
    console.log('module.name:', module.name);
    store.registerModule(module.name, module);
    cached[module.name] = true;
  }
}
export default moduleRegist;
